package com.example.pojo.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.io.Serializable;

//求职者用户表

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(of = {"id"})
public class JobSeeker implements Serializable {

  private Integer id;
  private String jsAccount;
  private String jsCipher;
  private String jsTelephone;
  private String jsEmail;
  private String jsName;
  private Integer jsSex;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  @DateTimeFormat(pattern = "yyyy/MM/dd HH:mm:ss")
  private Date jsTime;
  @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
  @DateTimeFormat(pattern = "yyyy/MM/dd HH:mm:ss")
  private Date birthday;
  private String brithplace;
  private Integer employment;
  private Integer jobSeek;
  private String remove;
  private String avatar;
  private Integer age;

}
